# Contributor: Niko Dittmann <mail@niko-dittmann.com>
# Maintainer: Niko Dittmann <mail@niko-dittmann.com>
pkgname=sakura
pkgver=3.7.1
pkgrel=0
pkgdesc="Sakura Terminal Emulator"
url="https://launchpad.net/sakura"
arch="all"
license="GPL-2.0-only"
makedepends="cmake vte3-dev pango-dev gtk+3.0-dev glib-dev gettext-dev pcre2-dev"
subpackages="$pkgname-doc $pkgname-lang"
source="https://launchpad.net/sakura/trunk/$pkgver/+download/sakura-$pkgver.tar.bz2"
options="!check" # no tests provided by upstream

build() {
	cmake -DCMAKE_INSTALL_PREFIX=/usr .
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="69d3b14f455480e4515337b4a28daafc807f41653ed8d6b6f934a908305fcc28745796b0f290b3ec6e97f6572132664017f943e556cca69df7007e17fcd9b9df  sakura-3.7.1.tar.bz2"
